#ifndef CUSTOMLINEEDIT_H
#define CUSTOMLINEEDIT_H

#include <QLineEdit>
#include <QObject>
#include <QDebug>

class CustomLineEdit : public QLineEdit
{
    Q_OBJECT
public:
    explicit CustomLineEdit(QWidget *parent = nullptr);
    ~CustomLineEdit();

signals:
    /* 发送鼠标按下信号 */
    void editClick();

protected:
    /* 鼠标按下事件 */
    virtual void mousePressEvent(QMouseEvent *e) override;

};

#endif // CUSTOMLINEEDIT_H
